package org.jeecg.modules.demo3.fly.entity.assist.qun;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.jeecg.modules.demo3.fly.entity.AxhkYwAgrplane;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author wjn
 * @version V1.0
 * @date 2021/6/30 10:10
 * @Copyright © 2021/6/30 深圳卓翼航空无人机有限公司
 */
@Data
public class Fluck { //群 类
    private String id; //群id
    private String fName; //群名称
    private String creatTime;//创建时间
    @TableField(exist = false)
    private String tag;//队长标识符
    private Integer uNum;//成员数量
    @TableField(exist = false)
    private String captainId; //队长id
    @TableField(exist = false)
    private boolean tagB; // 队长逻辑标识符 （队长 true  队员  false）

    @TableField(exist = false)
    List<User> users = new ArrayList<User>();//用户列表
    @TableField(exist = false)
    List<AxhkYwAgrplanes> axhkYwAgrplanes = new ArrayList<>();//设备列表
    @TableField(exist = false)
    List<AxhkWorkManagements> axhkWorkManagements = new ArrayList<>();//任务列表

    public Fluck() {}

    public Fluck(String id, String fName, String creatTime,Integer uNum) {
        this.id = id;
        this.fName = fName;
        this.creatTime = creatTime;
        this.uNum = uNum;
    }

    public Fluck(String id, String fName, List<User> users, List<AxhkYwAgrplanes> axhkYwAgrplanes) {
        this.id = id;
        this.fName = fName;
        this.users = users;
        this.axhkYwAgrplanes = axhkYwAgrplanes;
    }


}
